import { ApiProperty } from '@nestjs/swagger';
import { ResponsePaginationDto } from './response-pagination.dto';

/**
 * 基础响应体字段
 */
export class ResponseBodyDto {
  @ApiProperty({
    description: '状态码',
    default: 200,
    example: 200
  })
  statusCode: number;

  @ApiProperty({
    description: '操作结果',
    example: true
  })
  success: boolean;

  @ApiProperty({
    description: '结果信息',
    example: '请求结果'
  })
  message: string;
}
